<html lang="zh-CN">

<script>
     function show(name) {
           var ok = window.confirm("确认删除数据吗？");
           return "返回结果";
     }

</script>

<title>示例</title>

<body>

    <h1 onclick="javascript:android.sendMsg('我是从网页过来的消息')">html示例</h1>

</body>

</html>